<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>set集合</title>
    <script>
       let arr = [1,2,3,4,4,5,5,6,6,9];

       let set = new Set(arr);

       console.log(set);
    </script>
</head>
<body>

</body>
</html>